package com.example.forum.vo;

import lombok.Getter;
import lombok.Setter;

import java.util.List;
@Setter
@Getter
public class TreeNode {
    private String id ;
    private String name ;
    private String parentid ;
    private String check ;
    private String open ;
    /// <summary>
    /// 提供对节点的新增权限的控制
    /// </summary>
    private Boolean showAdd ;
    /// <summary>
    /// 提供对节点的修改权限的控制
    /// </summary>
    private Boolean showEdit ;
    /// <summary>
    /// 提供对节点的删除权限的控制
    /// </summary>
    private Boolean showRemove ;
    private String isParent ;
    /// <summary>
    /// 字体
    /// font="{'color':'#ccc'}"
    /// </summary>
    private String font ;
    /// <summary>
    /// 自定义参数，可以在TreeData方法中通过Request[""]获取
    /// nodeParam ="type=1&key=value";
    /// </summary>
    private String nodeParam ;
    private String iconOpen ;
    private String iconClose ;
    private String icon;


    private Integer sort ;

    public List<TreeNode> children ;
    private String PermissionId ;
}
